<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: "App",
  metaInfo() {
    return {
      title:
        this.$store.state.settings.dynamicTitle &&
        this.$store.state.settings.title,
      titleTemplate: (title) => {
        return title
          ? `${title} - ${process.env.VUE_APP_TITLE}`
          : process.env.VUE_APP_TITLE;
      },
    };
  },
};
</script>
<style>
.container {
  padding: 8px 20px;
  height: 100%;
  width: 100%;
  position: absolute;
}
header {
  position: relative;
  height: 60px;
}
section {
  height: calc(100% - 140px);
}
footer {
  height: 50px;
  width: 100%;
  position: absolute;
  bottom: 0;
}
</style>
